<template>
  <a-modal :open="openEditor" title="编辑数据" cancel-text="取消" ok-text="确定" @cancel="onCancel" @ok="onEditor">

  </a-modal>
</template>
<script lang="ts" setup>
import {defineProps} from "vue";

interface Props {
  onCancel?: Function;
  openEditor?: Boolean;
  onEditor?: Function;
}

defineProps<Props>();
</script>

